 
#include "RtBase.h"

#if !defined(WIN32) || !defined(_USRDLL)
 #error ERROR: This file is only for Win32 DLL!
#endif // !_USRDLL

HANDLE g_hInstDll;

BOOL WINAPI DllMain(HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
	g_hInstDll = hinstDLL;

	switch(fdwReason)
    {
	case DLL_PROCESS_ATTACH :
		RT_INFO_TRACE("rtnetwork version: BOX 4200, 420, 0, 0");
		break;

	case DLL_THREAD_ATTACH :
		break;

	case DLL_THREAD_DETACH :
		break;

	case DLL_PROCESS_DETACH :
		break;

	default :
		RT_ASSERTE(FALSE);
		break;
	}
    return TRUE;
}

